/*
 * Filename CheckProjectItemMapping.java 2022年03月24日
 * Copyright © Ehome Co.Ltd. All Rgiths Reserved.
 * @author wuyingchao
 */
package com.ehome.poct.core.dao.mapping;

import com.ehome.poct.core.api.dto.check.CheckItemCategoryDTO;
import com.ehome.poct.core.api.dto.check.CheckProjectItemDTO;
import com.ehome.poct.core.dao.entity.check.CheckItemCategoryDO;
import com.ehome.poct.core.dao.entity.check.CheckProjectItemDO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author wyc
 * @since 2022/03/24 11:37
 **/
@Mapper(componentModel = "spring")
public interface CheckCategoryMapping {
     List<CheckProjectItemDTO> toProjectItem(List<CheckProjectItemDO> entities);

     List<CheckItemCategoryDTO> toCategory(List<CheckItemCategoryDO> entities);

}